package com.cw.dto;

import com.cw.entity.SysRole;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class UserRolePojo {
    /**
     * 主键ID
     */
    //("USER_ID")
    @ApiModelProperty(value = "用户主键Id")
    private Integer userId;

    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    /**
     * 手机号
     */
    //("PHONE")
    @ApiModelProperty(value = "手机号")
    private String phone;

    /**
     * 创建时间
     */
    //("CREATE_TIME")
    private Date createTime;



    @ApiModelProperty(value = "邮箱")
    private String mailBox;

    @ApiModelProperty(value = "姓名")
    private String realName;

    /**
     * 用户对应的角色信息
     */
    private List<SysRole> sysRoles;

    private String chargePerson;

    /**
     * 角色字符串 ,分隔
     */
    private String role;
}
